ElasticPress\IndexHelper D

Total Complexity 165
Dependencies 5
Dependents 14
Total lines 1,408
Lines of code 677
Logical lines of code 363
Comment lines 526
Methods 36
Properties 4

Methods 36

Method Rating Maintainability Complexity Lines of code
index_next_batch()
C
32 22 101
build_index_meta()
B
35 18 81
get_objects_to_index()
B
42 18 45
process_sync_item()
A
43 14 47
is_full_reindexing()
A
51 11 24
index_cleanup()
A
46 8 40
stop_the_insanity()
S
49 7 30
index_objects()
S
49 5 30
maybe_process_error_limit()
S
57 5 16
put_mapping()
S
53 4 22
output()
S
56 4 17
full_index()
S
56 4 17
add_sync_item_to_stack()
S
56 4 17
flush_messages_queue()
S
60 4 13
create_network_alias()
S
52 3 26
process_not_active_indexable_sync_item()
S
57 3 18
update_last_index()
S
56 3 17
on_error_update_and_clean()
S
53 2 22
handle_index_error()
S
68 3 7
output_index_errors()
S
64 3 8
should_skip_object_index()
S
70 2 5
factory()
S
68 2 8
has_items_to_be_processed()
S
77 2 3
filter_indexables()
S
67 2 8
update_totals_from_current_sync_item()
S
60 1 13
get_index_default_per_page()
S
77 1 3
queue_message()
S
69 1 7
wp_handle_index_error()
S
77 1 4
setup()
S
79 1 3
get_index_meta()
S
78 1 3
clear_index_meta()
S
75 1 4
get_last_index()
S
78 1 3
output_error()
S
79 1 3
has_network_alias_to_be_created()
S
79 1 3
full_index_complete()
S
69 1 6
output_success()
S
79 1 3